﻿using System;
using System.Collections.Generic;

namespace Algoritmia.DataStructures.DoubleEndedPriorityQueues
{
    public class MinMaxIntervalHeap<T> : IntervalHeap<T>
        where T : IComparable<T>
    {
        public MinMaxIntervalHeap(IEnumerable<T> items= null, int capacity = 0 )
            : base(items,capacity,(v1,v2) => v1.CompareTo(v2) < 0)
        {
        }

    }
}
